package com.nineclock.attendance.service;

import com.nineclock.attendance.dto.AttendPunchDTO;
import com.nineclock.attendance.dto.AttendPunchUserWholeDayDTO;

import java.io.IOException;
import java.util.List;

/**
 * @author 黑马程序员
 * @Company http://www.ithiema.com
 * @Version 1.0
 */
public interface AttendPunchService {
    void punch(AttendPunchDTO attendPunchDTO);

    AttendPunchUserWholeDayDTO queryPunchRecord();

    List<AttendPunchDTO> queryMembers(String startTime, String endTime);

    void exportAttendData(String startTime, String endTime) throws IOException;

    /**
     * 生成excel文件, 输出到本地， 返回文件的地址
     * @return
     */
    String generateExcelReportByCompanyId(Long companyId);
}
